package k2_oop.p2_inheritAndPolymorphic.demo03;

public class Dog extends Animal{

    @Override
    public void speak() {
        System.out.println("旺旺旺");
    }

    public void protectHouse(){
        System.out.println("狗可以看家");
    }
}
